<?php
include('config.php');
$uid=$_POST['uid'];
$latitude=$_POST['latitude'];
$longtitude=$_POST['longtitude'];
$date=$_POST['date'];

$sql="INSERT INTO userlocation (uid,latitude,longtitude,date) VALUES('$uid','$latitude','$longtitude','$date')";		
$sqlquery=mysql_db_query($dbname,$sql);
echo "y";

mysql_close();
?>
